<!--  -->
<template>
  <div class="detail-swiper">
    <swiper>
      <swiper-item v-for="item in topImages" :key="item.acm" class="slide">
          <img :src="item" alt="" @load="detailSwiperLoaded"/>      
      </swiper-item>
    </swiper>
  </div>
</template>

<script>
import { Swiper, SwiperItem } from "components/common/swiper";
export default {
  data() {
    return {};
  },
  props:{
    topImages:{
      type:Array,
      default(){
        return []
      }
    }
  },

  components: {
    Swiper,
    SwiperItem,
  },

  computed: {},

  mounted() {
     
  },

  methods: {
    detailSwiperLoaded(){
      this.$emit("detailSwiperLoaded")
    }
  },
};
</script>
<style lang='scss' scoped>
  .slide img{
    height: 420px;
  }
  

</style>